package com.frank.oj.service.file;

import com.frank.oj.common.result.CommonResult;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

/**
 * @author frank
 * @Date 2024/5/6
 */
public interface MarkDownFileService {
    CommonResult<Map<Object, Object>> uploadMDImg(MultipartFile image, Long gid);

    CommonResult<Void> deleteMDImg(Long fileId);

    CommonResult<Map<Object, Object>> uploadMd(MultipartFile file, Long gid);
}
